This document will provide an overview of the cars dataset, a build in dataset within the R that can be used for practice.
This cheat sheet can be very useful for guidance https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf
There are 50 cars in the dataset.
Below shows a summary of the overall dataset:
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
The first six rows of the dataset looks like this:
## speed dist
## 1 4 2
## 2 4 10
## 3 7 4
## 4 7 22
## 5 8 16
## 6 9 10
Datatables can be a handy way to let the reader explore the dataset. In this instance i have used the mtcars dataset as it has more data to view. The DataTables github page is a good starting point if you want to learn more.
Where ggplot will insert a plot as a static image, plotly allows you to provide an interactive plot. You can find out more about about plotly on the plotly website
Detroit is best known as the center of the U.S. automobile industry, and the “Big Three” auto manufacturers General Motors, Ford, and Chrysler are all headquartered in Metro Detroit.
Adding images to your documents can be useful.